package com.msb.servicemap.service;

import com.msb.internalcommon.dto.ResponseResult;
import com.msb.servicemap.remote.ServiceClient;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Auther: jiudianliu
 * @Date: 2023/7/7 - 07 - 07 - 18:52
 * @Description: com.msb.servicemap.service
 * @version: 1.0
 */
@Service
public class ServiceMapService {

    @Autowired
    private ServiceClient serviceClient ;

    /**
     * 创建服务
     * @param name
     * @return
     */
    public ResponseResult add(String name) {
        return serviceClient.add(name);
    }
}
